﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Security Agent Service Web Client Test
    </h2>
    <p>
        Role Test:
        <asp:Label ID="lblRoleTest" runat="server"></asp:Label></p>
    <p>
        Profile Test:
        <asp:Label ID="lblProfile" runat="server"></asp:Label></p>
    <p>
        Object Test:
        <asp:Repeater ID="listObjects" runat="server">
            <HeaderTemplate><ul></HeaderTemplate>
            <ItemTemplate>
                   <li><%# Eval("ObjectCategory") + ":" + Eval("ObjectName") + " Allow Read? " + Eval("ObjectAccess.AllowRead") + " Allow Update? " + Eval("ObjectAccess.AllowUpdate") %></li>
            </ItemTemplate>
            <FooterTemplate></ul></FooterTemplate>
        </asp:Repeater>
    </p>
    <p>Object Service Test:</p>
    <p>1: valid user, valid order: </p><asp:Label ID="lblTestService1" runat="server"></asp:Label><br />
    <p>2: valid user, invalid order: </p><asp:Label ID="lblTestService2" runat="server"></asp:Label><br />

</asp:Content>
